gtk4.git
7 years agoRemove a few stray <packing/> elements
Matthias Clasen [Sat, 6 Apr 2019 00:47:46 +0000 (00:47 +0000)]
Remove a few stray <packing/> elements

These were leftovers from an earlier conversion
that did not properly strip empty elements.

7 years agoMerge branch 'menushell-bandaid' into 'master'
Matthias Clasen [Sat, 6 Apr 2019 00:40:54 +0000 (00:40 +0000)]
Merge branch 'menushell-bandaid' into 'master'

Make menu activation work again

Closes #1796

See merge request GNOME/gtk!721

7 years agoMake menu activation work again
Matthias Clasen [Sat, 6 Apr 2019 00:20:21 +0000 (00:20 +0000)]
Make menu activation work again

After we stopped untranslatable delivering events, menus stopped
working 'the second time'. After some painful debugging, it appears
that this is caused by the menushell code deliberately grabbing
on the menubar *after* grabbing on the menu, causing events to
be deleivered to the wrong toplevel. This did not use to matter,
but now we drop these events.

Absent a more thorough rewrite of menus, just don't grab on
the menubar. This makes menu activation work again and does not
appear to have ill effects, on either Wayland or X.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1796
7 years agoMerge branch 'wip/ebassi/ci-junit-report' into 'master'
Emmanuele Bassi [Fri, 5 Apr 2019 20:01:06 +0000 (20:01 +0000)]
Merge branch 'wip/ebassi/ci-junit-report' into 'master'

ci: Add JUnit report for the test suite

See merge request GNOME/gtk!718

7 years agoMerge branch 'gtk-4-file-containers-in-sidebar' into 'master'
Matthias Clasen [Fri, 5 Apr 2019 19:58:56 +0000 (19:58 +0000)]
Merge branch 'gtk-4-file-containers-in-sidebar' into 'master'

gtkplacessidebar: Add loop devices

See merge request GNOME/gtk!289

7 years agogtkplacessidebar: Add loop devices
segfault3 [Fri, 5 Apr 2019 19:58:56 +0000 (19:58 +0000)]
gtkplacessidebar: Add loop devices

7 years agoMerge branch 'inspector-layout' into 'master'
Matthias Clasen [Fri, 5 Apr 2019 19:57:32 +0000 (19:57 +0000)]
Merge branch 'inspector-layout' into 'master'

Show layout children in the inspector

See merge request GNOME/gtk!720

7 years agoinspector: Avoid a critical
Matthias Clasen [Fri, 5 Apr 2019 19:44:16 +0000 (19:44 +0000)]
inspector: Avoid a critical

If a layout manager does not have layout children,
quietly hide the layout page.

7 years agoci: Add manual jobs for Flatpak bundles
Emmanuele Bassi [Fri, 5 Apr 2019 18:15:11 +0000 (19:15 +0100)]
ci: Add manual jobs for Flatpak bundles

Bundles can be useful on branches and MRs as an opt-in.

7 years agoci: Call the report script on failure as well
Emmanuele Bassi [Fri, 5 Apr 2019 18:29:58 +0000 (19:29 +0100)]
ci: Call the report script on failure as well

GitLab's CI will bail out at the first failure, which means the
JSON-to-JUnit conversion script won't run unless it's part of the same
script that we run for building an testing.

7 years agoci: Add JUnit report for the test suite
Emmanuele Bassi [Fri, 5 Apr 2019 17:23:13 +0000 (18:23 +0100)]
ci: Add JUnit report for the test suite

We can convert the JSON output for `meson test` into a JUnix XML report,
which can be consumed by GitLab.

7 years agoShow layout children in the inspector
Matthias Clasen [Fri, 5 Apr 2019 19:15:16 +0000 (19:15 +0000)]
Show layout children in the inspector

7 years agoMerge branch 'child-props-followup' into 'master'
Matthias Clasen [Fri, 5 Apr 2019 19:01:21 +0000 (19:01 +0000)]
Merge branch 'child-props-followup' into 'master'

Child props followup

See merge request GNOME/gtk!719

7 years agobuildable: Remove a mention of <packing>
Matthias Clasen [Fri, 5 Apr 2019 18:39:17 +0000 (18:39 +0000)]
buildable: Remove a mention of <packing>

This is no longer a supported element in ui files.

7 years agoprint dialog: Rewrite example
Matthias Clasen [Fri, 5 Apr 2019 18:38:00 +0000 (18:38 +0000)]
print dialog: Rewrite example

The ui file example was still using GTK3 syntax
for GtkNotebooks.

7 years agoFix the inspector
Matthias Clasen [Fri, 5 Apr 2019 18:34:22 +0000 (18:34 +0000)]
Fix the inspector

One of the inspector ui files was still using
child properties.

7 years agoUpdate POTFILES.in
Piotr Drąg [Fri, 5 Apr 2019 17:56:06 +0000 (19:56 +0200)]
Update POTFILES.in

7 years agoMerge branch 'child-properties-be-gone' into 'master'
Matthias Clasen [Fri, 5 Apr 2019 12:27:24 +0000 (12:27 +0000)]
Merge branch 'child-properties-be-gone' into 'master'

Child properties be gone

See merge request GNOME/gtk!715

7 years agotestsuite: Remove packing property tests
Matthias Clasen [Fri, 5 Apr 2019 05:25:11 +0000 (05:25 +0000)]
testsuite: Remove packing property tests

These test files were for checking that
GtkBuilder parses <packing> properly.
We no longer support <packing>, so these
can go.

7 years agocontainer: Reduce boilerplate
Matthias Clasen [Fri, 5 Apr 2019 04:43:36 +0000 (04:43 +0000)]
container: Reduce boilerplate

We no longer need to hand-roll the type registration,
since we no longer install our own param spec pool.

7 years agoDrop child property related apis
Matthias Clasen [Fri, 5 Apr 2019 04:02:53 +0000 (04:02 +0000)]
Drop child property related apis

We no longer have any child properties in
our containers, so drop the infrastructure for it.

7 years agobuilder-tool: Stop using child properties
Matthias Clasen [Fri, 5 Apr 2019 04:02:19 +0000 (04:02 +0000)]
builder-tool: Stop using child properties

7 years agotestgtk: Stop using child properties
Matthias Clasen [Fri, 5 Apr 2019 04:02:06 +0000 (04:02 +0000)]
testgtk: Stop using child properties

7 years agopaned: Stop using child properties
Matthias Clasen [Fri, 5 Apr 2019 04:01:51 +0000 (04:01 +0000)]
paned: Stop using child properties

7 years agonotebook: Stop using child properties
Matthias Clasen [Fri, 5 Apr 2019 04:01:30 +0000 (04:01 +0000)]
notebook: Stop using child properties

7 years agogtk-demo: Stop using child properties
Matthias Clasen [Fri, 5 Apr 2019 03:59:06 +0000 (03:59 +0000)]
gtk-demo: Stop using child properties

7 years agoRemove testactionbar
Matthias Clasen [Fri, 5 Apr 2019 03:56:32 +0000 (03:56 +0000)]
Remove testactionbar

This test relies on child properties.

7 years agoRemove testtitlebar
Matthias Clasen [Fri, 5 Apr 2019 03:37:06 +0000 (03:37 +0000)]
Remove testtitlebar

This test relies on child properties.

7 years agoprint dialog: Stop using gtk_container_child_get
Matthias Clasen [Fri, 5 Apr 2019 03:34:07 +0000 (03:34 +0000)]
print dialog: Stop using gtk_container_child_get

The grid does not have child properties anymore.

7 years agogrid: Annotate out args as optional
Matthias Clasen [Fri, 5 Apr 2019 11:59:24 +0000 (11:59 +0000)]
grid: Annotate out args as optional

They are optional, so annotate them as such.

7 years agosearchbar: Fix a compiler warning
Matthias Clasen [Fri, 5 Apr 2019 04:14:53 +0000 (04:14 +0000)]
searchbar: Fix a compiler warning

7 years agofile chooser: Fix some compiler warnings
Matthias Clasen [Fri, 5 Apr 2019 03:34:42 +0000 (03:34 +0000)]
file chooser: Fix some compiler warnings

7 years agoA round of + removal
Matthias Clasen [Fri, 5 Apr 2019 05:07:32 +0000 (05:07 +0000)]
A round of + removal

change GTK+ to GTK throughout gtkmain.c.

7 years agobuilder-tool: Don't empty out <mark> elements
Matthias Clasen [Fri, 5 Apr 2019 03:05:08 +0000 (03:05 +0000)]
builder-tool: Don't empty out <mark> elements

We were inadvertedly losing the content of <mark>
elements. Fix this, by marking (!) them as pcdata
elements.

7 years agoMerge branch 'wip/ebassi/grid-layout' into 'master'
Matthias Clasen [Fri, 5 Apr 2019 02:42:55 +0000 (02:42 +0000)]
Merge branch 'wip/ebassi/grid-layout' into 'master'

Implement GtkGridLayout

See merge request GNOME/gtk!714

7 years agotestsuite/css: Change the active RadioButton
Emmanuele Bassi [Fri, 5 Apr 2019 00:39:34 +0000 (01:39 +0100)]
testsuite/css: Change the active RadioButton

The `buttons` test for CSS nodes sets the second RadioButton as the
active one, whereas the first RadioButton is not set as active.
Nevertheless, the reference output says that the first radio button
should match the `:checked` selector, whereas the second radio button
should not.

The fact that the test currently passes is a mystery.

7 years agotestsuite/css: Update UI files
Emmanuele Bassi [Thu, 4 Apr 2019 23:49:33 +0000 (00:49 +0100)]
testsuite/css: Update UI files

Run the UI files through `gtk-builder-tool simplify --3to4` to update
the layout properties.

7 years agotestsuite/reftests: Update UI files
Emmanuele Bassi [Thu, 4 Apr 2019 23:33:12 +0000 (00:33 +0100)]
testsuite/reftests: Update UI files

Run the UI files through `gtk-builder-tool simplify --3to4` to update
the layout properties.

7 years agotestsuite/a11y: Update GtkGrid definitions in UI files
Emmanuele Bassi [Thu, 4 Apr 2019 23:24:49 +0000 (00:24 +0100)]
testsuite/a11y: Update GtkGrid definitions in UI files

7 years agotests: Update GtkGrid definitions in UI files
Emmanuele Bassi [Thu, 4 Apr 2019 23:20:45 +0000 (00:20 +0100)]
tests: Update GtkGrid definitions in UI files

7 years agoexamples: Update GtkGrid definitions in UI files
Emmanuele Bassi [Thu, 4 Apr 2019 23:12:59 +0000 (00:12 +0100)]
examples: Update GtkGrid definitions in UI files

7 years agodemos: Update GtkGrid definitions in UI files
Emmanuele Bassi [Thu, 4 Apr 2019 23:10:18 +0000 (00:10 +0100)]
demos: Update GtkGrid definitions in UI files

7 years agoUpdate GtkGrid definitions in GtkBuilder files
Emmanuele Bassi [Thu, 4 Apr 2019 23:08:18 +0000 (00:08 +0100)]
Update GtkGrid definitions in GtkBuilder files

Convert packing properties to layout ones.

7 years agobuilder-tool: Convert GtkGrid child properties
Emmanuele Bassi [Thu, 4 Apr 2019 22:33:11 +0000 (23:33 +0100)]
builder-tool: Convert GtkGrid child properties

7 years agotests: Update the GtkGrid suite
Emmanuele Bassi [Thu, 4 Apr 2019 21:43:07 +0000 (22:43 +0100)]
tests: Update the GtkGrid suite

We don't use child properties any more.

7 years agoAdd convenience function for querying a child of GtkGrid
Emmanuele Bassi [Thu, 4 Apr 2019 21:41:19 +0000 (22:41 +0100)]
Add convenience function for querying a child of GtkGrid

Getting the layout manager instance out of GtkGrid, and then querying
all layout properties can be tedious, especially for code that was
usually calling gtk_container_child_get().

To replace that, we can add a simple query function that returns the two
attach points and the spans.

7 years agoPort GtkGrid to use GtkGridLayout
Emmanuele Bassi [Thu, 4 Apr 2019 17:40:34 +0000 (18:40 +0100)]
Port GtkGrid to use GtkGridLayout

7 years agoMerge branch 'master' into 'master'
Marek Kašík [Thu, 4 Apr 2019 16:39:18 +0000 (16:39 +0000)]
Merge branch 'master' into 'master'

Print dialog, CUPS: Check unknown option values whether they are actually custom settings

See merge request GNOME/gtk!434

7 years agoprint: Check unknown option values whether they are actually custom settings
Till Kamppeter [Thu, 4 Apr 2019 16:39:18 +0000 (16:39 +0000)]
print: Check unknown option values whether they are actually custom settings

Additional code improvements and fixes:

- Use g_regex_match_simple() instead of sscanf()
- Added spaces between function names and left parantheses
- Set always correct custom page size
- Added page_setup field to CupsOptionsData data structure
- Replaced tab indentions by spaces
- Moved #define out of add_cups_options() function, removed line breaks from regular expressions

7 years agodocs: Add missing layout managers to the API reference
Emmanuele Bassi [Thu, 4 Apr 2019 15:43:06 +0000 (16:43 +0100)]
docs: Add missing layout managers to the API reference

7 years agoDocument GtkGridLayout
Emmanuele Bassi [Thu, 4 Apr 2019 15:31:56 +0000 (16:31 +0100)]
Document GtkGridLayout

Add missing stanzas for properties and accessor functions.

7 years agoUpdate POTFILES.in and POTFILES.skip
Piotr Drąg [Thu, 4 Apr 2019 11:25:03 +0000 (13:25 +0200)]
Update POTFILES.in and POTFILES.skip

7 years agoMerge branch 'custom-surface' into 'master'
Matthias Clasen [Wed, 3 Apr 2019 23:38:55 +0000 (23:38 +0000)]
Merge branch 'custom-surface' into 'master'

Drop gdk_wayland_surface_set_use_custom_surface

Closes #1806

See merge request GNOME/gtk!713

7 years agoDrop gdk_wayland_surface_set_use_custom_surface
Matthias Clasen [Wed, 3 Apr 2019 23:22:36 +0000 (23:22 +0000)]
Drop gdk_wayland_surface_set_use_custom_surface

This is unused in GTK, and it does not seem useful
enough to keep around.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1806
7 years agoMerge branch 'zbrown/type-info' into 'master'
Matthias Clasen [Wed, 3 Apr 2019 23:14:38 +0000 (23:14 +0000)]
Merge branch 'zbrown/type-info' into 'master'

inspector: Type info for misc pane

See merge request GNOME/gtk!712

7 years agoinspector: Type info for misc pane
Zander Brown [Wed, 3 Apr 2019 22:50:24 +0000 (23:50 +0100)]
inspector: Type info for misc pane

Replaces the class hierarchy page with a button/popover on the misc page

7 years agoAdd GtkGridLayout
Emmanuele Bassi [Wed, 3 Apr 2019 18:03:58 +0000 (19:03 +0100)]
Add GtkGridLayout

Layout manager for grid-like widgets.

7 years agoUpdate POTFILES.in
Piotr Drąg [Wed, 3 Apr 2019 17:03:36 +0000 (19:03 +0200)]
Update POTFILES.in

7 years agoFix teststack
Matthias Clasen [Wed, 3 Apr 2019 15:10:10 +0000 (15:10 +0000)]
Fix teststack

This testcase wasn't updated to new GtkStack apis.

7 years agoMerge branch 'wip/carlosg/drop-search-handle-event' into 'master'
Matthias Clasen [Wed, 3 Apr 2019 13:28:58 +0000 (13:28 +0000)]
Merge branch 'wip/carlosg/drop-search-handle-event' into 'master'

Search improvements

See merge request GNOME/gtk!710

7 years agoMerge branch 'wip/carlosg/paned-cursor' into 'master'
Matthias Clasen [Wed, 3 Apr 2019 13:12:01 +0000 (13:12 +0000)]
Merge branch 'wip/carlosg/paned-cursor' into 'master'

paned: Set cursor on gizmo widget

See merge request GNOME/gtk!711

7 years agoMerge branch 'patch-1' into 'master'
Matthias Clasen [Wed, 3 Apr 2019 12:16:01 +0000 (12:16 +0000)]
Merge branch 'patch-1' into 'master'

Update zh_CN.po

See merge request GNOME/gtk!709

7 years agopaned: Set cursor on gizmo widget
Carlos Garnacho [Wed, 3 Apr 2019 11:26:40 +0000 (13:26 +0200)]
paned: Set cursor on gizmo widget

We may avoid setting it on the paned widget depending on the pointer
position altogether, since the handle is now a widget. Also is more
likely to be correct as the implicitly grabbed widget will probably
be that one.

Fixes the paned losing the resize cursor after button press.

7 years agogtk: Drop gtk_search_[entry|bar]_handle_event()
Carlos Garnacho [Wed, 3 Apr 2019 11:21:51 +0000 (13:21 +0200)]
gtk: Drop gtk_search_[entry|bar]_handle_event()

This is now unused, and unrecommended.

7 years agoicon-browser: Drop usage of gtk_search_bar_handle_event()
Carlos Garnacho [Wed, 3 Apr 2019 11:18:37 +0000 (13:18 +0200)]
icon-browser: Drop usage of gtk_search_bar_handle_event()

Make it capture key events from the toplevel.

7 years agoshortcutswindow: Drop usage of gtk_search_bar_handle_event()
Carlos Garnacho [Wed, 3 Apr 2019 11:17:54 +0000 (13:17 +0200)]
shortcutswindow: Drop usage of gtk_search_bar_handle_event()

Make it capture key events from the toplevel.

7 years agofilechooserwidget: Drop usage of gtk_search_entry_handle_event()
Carlos Garnacho [Wed, 3 Apr 2019 11:16:49 +0000 (13:16 +0200)]
filechooserwidget: Drop usage of gtk_search_entry_handle_event()

Just use gtk_event_controller_key_forward() to let know the search
entry of the Esc key being pressed.

7 years agoinspector: Fix prop-list search
Carlos Garnacho [Wed, 3 Apr 2019 11:11:44 +0000 (13:11 +0200)]
inspector: Fix prop-list search

Instead of handle_event(), use set_key_capture_widget().

Also, use the fact that we now propagate key events throughout the
stage, and connect to the GtkInspectorPropList instead of the toplevel.
We only want the search bar to be active while that widget is mapped
and able to receive events.

And also, handle the "search bar" visibility on ::search-started.

7 years agoUpdate zh_CN.po
aerowolf [Wed, 3 Apr 2019 11:22:55 +0000 (11:22 +0000)]
Update zh_CN.po

7 years agosearchentry: Add ::search-started signal
Carlos Garnacho [Wed, 3 Apr 2019 11:08:53 +0000 (13:08 +0200)]
searchentry: Add ::search-started signal

Users of search entries usually handled visibility (when initially hidden)
by checking the return value of gtk_search_entry_handle_event(). This does
not pan out with gtk_search_entry_set_key_capture_widget() since the return
value is not directly seen by the caller.

Add a ::search-started signal to cater for it, which gets emitted when the
search entry went from empty to non-empty.

7 years agotreeview: Fix variable typo
Carlos Garnacho [Wed, 3 Apr 2019 11:07:06 +0000 (13:07 +0200)]
treeview: Fix variable typo

We actually want search_entry there, not search_window which is the
O-R window in the non-custom case.

7 years agodocs: Fix typo in the migration guide
Emmanuele Bassi [Wed, 3 Apr 2019 10:27:18 +0000 (11:27 +0100)]
docs: Fix typo in the migration guide

7 years agoMerge branch 'inspector-tweaks' into 'master'
Matthias Clasen [Tue, 2 Apr 2019 23:51:22 +0000 (23:51 +0000)]
Merge branch 'inspector-tweaks' into 'master'

Inspector tweaks

See merge request GNOME/gtk!707

7 years agoinspector: Rename a few pages
Matthias Clasen [Tue, 2 Apr 2019 22:00:46 +0000 (22:00 +0000)]
inspector: Rename a few pages

"Global" and "Visual" are not very good names for
the content of these pages. Rename them to
"Information and "Settings".

7 years agoinspector: Manage visibility of stack pages
Matthias Clasen [Tue, 2 Apr 2019 23:24:57 +0000 (23:24 +0000)]
inspector: Manage visibility of stack pages

The hand-rolled stack combo we were using before
was looking at the visibility of the page itself
to show or hide items. Other stack switchers
expect us to use the GtkStackPage::visible
property for this.

7 years agoinspector: Redo the object page switcher
Matthias Clasen [Tue, 2 Apr 2019 23:07:51 +0000 (23:07 +0000)]
inspector: Redo the object page switcher

The combobox for page switching was not very good.
Instead, do a sidebar that can be hidden.

7 years agoinspector: Drop the child property page
Matthias Clasen [Tue, 2 Apr 2019 21:56:26 +0000 (21:56 +0000)]
inspector: Drop the child property page

Child properties are on the way out.

7 years agoinspector: Drop the class hierarchy page
Matthias Clasen [Tue, 2 Apr 2019 21:50:09 +0000 (21:50 +0000)]
inspector: Drop the class hierarchy page

This was just  not useful enough to keep around.

7 years agoinspector: Drop the css selector page
Matthias Clasen [Tue, 2 Apr 2019 21:47:02 +0000 (21:47 +0000)]
inspector: Drop the css selector page

This was just not useful enough to keep around.

7 years agoinspector: Drop the signals page
Matthias Clasen [Tue, 2 Apr 2019 21:39:47 +0000 (21:39 +0000)]
inspector: Drop the signals page

This was just not useful enough to keep around.

7 years agogtk-demo: Don't expand tabs
Matthias Clasen [Tue, 2 Apr 2019 21:32:14 +0000 (21:32 +0000)]
gtk-demo: Don't expand tabs

It is a little irritating to see super-wide
tabs in demos which have just one extra file,
such as "Fixed layout".

7 years agoinspector: Properly clean up
Matthias Clasen [Tue, 2 Apr 2019 21:19:50 +0000 (21:19 +0000)]
inspector: Properly clean up

I got a crash in inspector code when I hit
cancel in the confirmation dialog for it.

7 years agoUpdate gtk-doc types file for GTK 4
Emmanuele Bassi [Tue, 2 Apr 2019 20:43:34 +0000 (21:43 +0100)]
Update gtk-doc types file for GTK 4

We're missing newly added types, and listing removed ones.

7 years agoMerge branch 'wip/ebassi/fixed-demo' into 'master'
Matthias Clasen [Tue, 2 Apr 2019 20:07:16 +0000 (20:07 +0000)]
Merge branch 'wip/ebassi/fixed-demo' into 'master'

Add GtkFixed demo

See merge request GNOME/gtk!706

7 years agoMerge branch 'file-conflict2' into 'master'
Benjamin Otte [Tue, 2 Apr 2019 20:05:12 +0000 (20:05 +0000)]
Merge branch 'file-conflict2' into 'master'

Rename all settings schemas to avoid conflict

See merge request GNOME/gtk!705

7 years agoAdd GtkFixed demo
Emmanuele Bassi [Tue, 2 Apr 2019 19:49:35 +0000 (20:49 +0100)]
Add GtkFixed demo

This demo has everything:

 - a GtkFixed inside another GtkFixed
 - a cube made out of GtkFrame widgets
 - an example of 3D transformations

And what's there, in the window once I launch it? The GTK logo made of
widgets.

7 years agoRename all settings schemas to avoid conflict
Matthias Clasen [Tue, 2 Apr 2019 19:22:48 +0000 (19:22 +0000)]
Rename all settings schemas to avoid conflict

Rename all our settings schemas to the org.gtk.gtk4
prefix to avoid conflicting with the gtk3 schemas.

7 years agoMerge branch 'async-api' into 'master'
Matthias Clasen [Tue, 2 Apr 2019 15:45:30 +0000 (15:45 +0000)]
Merge branch 'async-api' into 'master'

Small async api fixes

See merge request GNOME/gtk!701

7 years agoMerge branch 'adwaita-selected-row-switch-fix-master' into 'master'
Matthias Clasen [Tue, 2 Apr 2019 15:33:24 +0000 (15:33 +0000)]
Merge branch 'adwaita-selected-row-switch-fix-master' into 'master'

Adwaita: Fix switch slider border on selected row

Closes #1802

See merge request GNOME/gtk!704

7 years agoMerge branch 'wip/ebassi/fixed-layout-v2' into 'master'
Matthias Clasen [Tue, 2 Apr 2019 15:27:25 +0000 (15:27 +0000)]
Merge branch 'wip/ebassi/fixed-layout-v2' into 'master'

Drop GtkLayout and improve GtkFixed

See merge request GNOME/gtk!702

7 years agoAdwaita: Fix switch slider border on selected row
Alex Monday [Tue, 2 Apr 2019 15:12:56 +0000 (20:12 +0500)]
Adwaita: Fix switch slider border on selected row

Closes https://gitlab.gnome.org/GNOME/gtk/issues/1802

7 years agogdk: Change some async dnd api
Matthias Clasen [Tue, 2 Apr 2019 11:38:52 +0000 (11:38 +0000)]
gdk: Change some async dnd api

The pattern we generally follow is to put the
async result right after the source object, in
finish functions. Do this for gdk_drop_read_finish.

7 years agogdk: Change some async clipboard api
Matthias Clasen [Tue, 2 Apr 2019 11:37:54 +0000 (11:37 +0000)]
gdk: Change some async clipboard api

The pattern we generally follow is to put the
async result right after the source object, in
finish functions. Do this for gdk_clipboard_read_finish.

7 years agodocs: Mention GtkLayout's removal in the migration guide
Emmanuele Bassi [Tue, 2 Apr 2019 15:00:05 +0000 (16:00 +0100)]
docs: Mention GtkLayout's removal in the migration guide

7 years agoAdd API to access child transformations to GtkFixed
Emmanuele Bassi [Tue, 2 Apr 2019 14:48:46 +0000 (15:48 +0100)]
Add API to access child transformations to GtkFixed

This is mostly convenience API around GtkFixedLayoutChild, but it should
push people towards using transformations with GtkFixed instead of just
using fixed positioning.

7 years agoRemove GtkLayout
Emmanuele Bassi [Tue, 2 Apr 2019 14:25:02 +0000 (15:25 +0100)]
Remove GtkLayout

The need of a specialised fixed layout container that can be placed into
a GtkScrolledWindow ceased to exist once GtkScrolledWindow gained the
ability to automatically interpose a GtkViewport when adding a child
that does not implement GtkScrollable.

All the other justifications that led to the existence of GtkLayout as a
separate widget from GtkFixed have been largely made irrelevant in the
20 years since its inception.

7 years agoAdd overflow:hidden to GtkFixed
Emmanuele Bassi [Mon, 1 Apr 2019 17:11:19 +0000 (18:11 +0100)]
Add overflow:hidden to GtkFixed

This allows GtkFixed to clip children that are outside its allocation.

7 years agoMerge branch 'appnames' into 'master'
Matthias Clasen [Tue, 2 Apr 2019 00:54:11 +0000 (00:54 +0000)]
Merge branch 'appnames' into 'master'

Rename apps for uniqueness

See merge request GNOME/gtk!699

7 years agoAdd a flatpak manifest for org.gtk.IconBrowser4
Matthias Clasen [Tue, 2 Apr 2019 00:31:17 +0000 (00:31 +0000)]
Add a flatpak manifest for org.gtk.IconBrowser4

And build it in ci.

7 years agoflatpaks: Drop dconf permissions
Matthias Clasen [Tue, 2 Apr 2019 00:28:30 +0000 (00:28 +0000)]
flatpaks: Drop dconf permissions

We are building against the 3.32 sdk, which has
a new-enough glib to default to the keyfile
settings backend.

Also, use fallback-x11, so we prefer Wayland.